import { Injectable } from '@nestjs/common';

@Injectable()
export class AppService {
  getMessage(name: string): string {
    if (name) {
      return `Hello, ${name}!`;
    }
    return 'Hello, World!';
  }
}